C1.Xaml.Pdf Namespace > C1PdfDocument Class > AddAttachment Method : AddAttachment(String,Byte[],Rect,Int32,AttachmentIconEnum,Color) Method |
'Declaration
Public Overloads Sub AddAttachment( _ ByVal fileName As String, _ ByVal data() As Byte, _ ByVal rc As Rect, _ ByVal page As Integer, _ ByVal icon As AttachmentIconEnum, _ ByVal iconColor As Color _ )
'Usage
Dim instance As C1PdfDocument Dim fileName As String Dim data() As Byte Dim rc As Rect Dim page As Integer Dim icon As AttachmentIconEnum Dim iconColor As Color instance.AddAttachment(fileName, data, rc, page, icon, iconColor)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2